﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Douban.Api.Infrastructure;
using Douban.Api.Web;

namespace Douban.Api.Mail
{
    public class InboxDataSource : IDataSource
    {
        private static string _id = "http://api.douban.com/doumail/inbox";

        public string Id { get; set; }

        public Stream Source
        {
            get
            {

                AuthorizedRequest request = new AuthorizedRequest();
                request.RequestUri = new Uri(_id);
                //request.


                return null;
            }
        }

        public string BuildUrl()
        {
            return _id;
        }
    }
}
